package com.pubinfo.passbook.common.service.master;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.pubinfo.passbook.common.entity.TRuleDistrict;
import com.baomidou.mybatisplus.extension.service.IService;
import com.pubinfo.passbook.common.model.dto.rule.RuleDistrictParam;
import com.pubinfo.passbook.common.model.vo.base.JsonResult;

/**
 *
 */
public interface TRuleDistrictService extends IService<TRuleDistrict> {
  boolean saveRuleDistrict(TRuleDistrict ruleDistrict);
  
  JsonResult<String> removeRuleDistrict(String districtId);
  
  JsonResult<String> updateRuleDistrict(TRuleDistrict district);
  
  IPage<TRuleDistrict> selectRuleDistrict(RuleDistrictParam param);
}
